import request from '@/utils/request';

// 出勤率排行接口
export function getTrunRank(params) {
    return request('/api/oa/v1/attendancecount/trunoutsweat/getlist', {
        method: 'POST',
        data: params
    });
}

// 加班人员排行接口
export function getOverRank(params) {
    return request('/api/oa/v1/attendancecount/overtimeListSweat/getlist', {
        method: 'POST',
        data: params
    });
}

// 请假人员排行接口
export function getLeaveRank(params) {
    return request('/api/oa/v1/attendancecount/leaveListSweat/getlist', {
        method: 'POST',
        data: params
    });
}

// 异常率排行接口
export function getAbnorRank(params) {
    return request('/api/oa/v1/attendancecount/abnormalListSweat/getlist', {
        method: 'POST',
        data: params
    });
}
// 请假排行-请假字典服务接口
export function getLeaveType() {
    return request('/api/work/v1/attendance/summary/getleavedict', {
        method: 'POST'
    });
}
